package resource
{
	import VO.UserResourceVO;
	
	//用户配置信息
	public class ResourceUserInfo
	{
		private var _username:String;
		//mapnumber决定地图大小和道路的位置
		private var _mapnumber:int;
		private var _castlelevel:int;
		private var _barracklevel:int;
		private var _farmlevel:int;
		private var _marketlevel:int;
		private var _warehouselevel:int;
		private var _minelevel:int;
		private var _pondamount:int;
		private var _treeamount:int;
		private var _rockeryamount:int;
		
		//用户拥有的资源
		private var _userResource:UserResourceVO = new UserResourceVO();
		
		public function ResourceUserInfo()
		{
		}
		
		public function get username():String
		{
			return _username;
		}
		
		public function set username(value:String):void
		{
			_username = value;
		}
		
		public function get mapnumber():int
		{
			return _mapnumber;
		}
		
		public function set mapnumber(value:int):void
		{
			_mapnumber = value;
		}
		
		public function get castlelevel():int
		{
			return _castlelevel;
		}
		
		public function set castlelevel(value:int):void
		{
			_castlelevel = value;
		}
		public function get barracklevel():int
		{
			return _barracklevel;
		}
		
		public function set barracklevel(value:int):void
		{
			_barracklevel = value;
		}
		
		public function get farmlevel():int
		{
			return _farmlevel;
		}
		
		public function set farmlevel(value:int):void
		{
			_farmlevel = value;
		}
		
		public function get marketlevel():int
		{
			return _marketlevel;
		}
		
		public function set marketlevel(value:int):void
		{
			_marketlevel = value;
		}
		
		public function get warehouselevel():int
		{
			return _warehouselevel;
		}
		
		public function set warehouselevel(value:int):void
		{
			_warehouselevel = value;
		}
		
		public function get minelevel():int
		{
			return _minelevel;
		}
		
		public function set minelevel(value:int):void
		{
			_minelevel = value;
		}

		public function get pondamount():int
		{
			return _pondamount;
		}

		public function set pondamount(value:int):void
		{
			_pondamount = value;
		}
        
		public function get treeamount():int
		{
			return _treeamount;
		}
		
		public function set treeamount(value:int):void
		{
			_treeamount = value;
		}
		
		public function get rockeryamount():int
		{
			return _rockeryamount;
		}
		
		public function set rockeryamount(value:int):void
		{
			_rockeryamount = value;
		}
		
		public function get userResource():UserResourceVO
		{
			return _userResource;
		}
		
		public function set userResource(value:UserResourceVO):void
		{
			_userResource = value;
		}

	}
}